<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>小米官网</title>
		<style>
			.box1{
				width: 100%;
				height: 50px;
				background-color: black;
				
			}
			.box5{
				width:auto;
				height: 100%;
				background-color:white ;
				margin-left: 100px;
				margin-right: 100px;
			}
			.box6{
				width: 700px;
				height: 100%;
				background-color:purple ;
				float: left;
			}
			.box7{
				width: 350px;
				height: 100%;
				background-color:white;
				float: right;
			}
			.box2{
				width: auto;
				height: 100px;
				background-color: blue;
				margin-top: 20px;
				margin-bottom: 20px;
				margin-left: 100px;
				margin-right: 100px;
				
			}
			.box8{
				width: 100px;
				height: 100%;
				background-color: skyblue;
				float: left;
			}
			.box9{
				width: 500px;
				height: 100%;
				background-color: antiquewhite;
				
			}
			.box10{
				width: 200px;
				height: 100%;
				background-color: pink ;
				float: right;
				
			}
			.box3{
				width: auto;
				height: 400px;
				background-color: black;
				margin-top: 20px;
				margin-bottom: 20px;
				margin-left: 100px;
				margin-right: 100px;
				
			}
			.box11{
				width: 40%;
				height: 100%;
				background-color: whitesmoke;
			}
			.box12{
				width: 60%;
				height: 100%;
				background-color: cadetblue;
			
			}
			.box4{
				width: auto;
				height: 400px;
				background-color: aliceblue;
				margin-top: 20px;
				margin-bottom: 20px;
				margin-left: 100px;
				margin-right: 100px;
				
			}
		</style>
	</head>
	<body>
		<div class="box1">
			<div class="box5">
			<div class="box6"></div>
			<div class="box7"></div>
			</div>
			
			
		</div>
		<div class="box2">
			<div class="box8"></div>
			<div class="box10"></div>
			<div class="box9"></div>
		</div>
		<div class="box3">
			<div class="box11"></div>
			<div class="box12"></div>
			
		</div>
		<div class="box4"></div>
	</body>
</html>

